-- card: 26471 from stack: in.0 -- bmap block id: 0 -- flags: 0000 -- background id: 3797 -- name: -- part contents for background part 1 ----- text ----- From: john@felix.UUCP (John Gilbert) Date: 2 Mar 88 00:44:25 GMT >> My problem is that the button contains the following script: (in part) >> repeat with the number of cards of this bkgnd >> ...do the checking >> end repeat >Sometimes you have to put a quantity into a container all of its own to use >it in a repeat statement. Try something like: >put the number of cards of this background into NumbCards >repeat with NumbCards ... >end repeat Several folks have pointed out that "the number of cards in this background" may not be supported yet. I have not confirmed this, and it may very well be true. However, there is a more basic problem in the original example not yet mentioned: The "repeat with..." is to be used with a varible counter the same way a for loop is traditionally used. It might help to change the repeat loop to: repeat for end repeat to see if this produces the desired results. -- part contents for background part 45 ----- text ----- Re: "Repeat with...." question